package com.example.trafficsystem.repository;

import com.example.trafficsystem.entity.ExamQuestion;
import com.example.trafficsystem.entity.UserTb;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ExamQuestionRe extends JpaRepository<ExamQuestion, Long>, JpaSpecificationExecutor<ExamQuestion> {

    List<ExamQuestion> findByExamsId(Long examId);
}
